<h1>{$WEB_APP.title}</h1>
{include file="errors.tpl"}

{if $WEB_APP.show_form} 
	{include file = "form.tpl" submit_title=$submit_title form_title=$title_add}	
{/if}

{if $WEB_APP.show_table}
	{if $WEB_APP.show_form}
		<br>
	{/if}
	<a href="{$script_name}?action=print">{$text.txt_print_report}</a><br><br>
	{include file="table_header.tpl"}
	{include file="table_rows.tpl" index='ID' items=$rows}
	{include file="table_footer.tpl"}
{/if}
